package cn.buyclss.backend.mapper.shop;

import cn.buyclss.backend.entity.domain.shop.OrderGoodsSpecs;
import cn.buyclss.backend.entity.domain.shop.OrderGoodsSpecsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderGoodsSpecsMapper {
    /**
     *
     * @mbg.generated 2019-03-11
     */
    long countByExample(OrderGoodsSpecsExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int deleteByExample(OrderGoodsSpecsExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int insert(OrderGoodsSpecs record);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int insertSelective(OrderGoodsSpecs record);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    List<OrderGoodsSpecs> selectByExample(OrderGoodsSpecsExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    OrderGoodsSpecs selectByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int updateByExampleSelective(@Param("record") OrderGoodsSpecs record, @Param("example") OrderGoodsSpecsExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int updateByExample(@Param("record") OrderGoodsSpecs record, @Param("example") OrderGoodsSpecsExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int updateByPrimaryKeySelective(OrderGoodsSpecs record);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int updateByPrimaryKey(OrderGoodsSpecs record);
}